Skip to content

feat(telemetry)_: track peers by shard and origin#5819

Closed
adklempner wants to merge 1 commit intodevelopfrom
feat/telemetry-peers-shard-origin
Closed

feat(telemetry)_: track peers by shard and origin#5819
adklempner wants to merge 1 commit intodevelopfrom
feat/telemetry-peers-shard-origin

Conversation

@adklempner
Copy link
Copy Markdown
Contributor

@adklempner adklempner commented Sep 9, 2024

Periodically calculates number of connected peers per shard and discovery method, reports to telemetry

If telemetry is enabled, starts an additional go routine in wakuv2.Start() which periodically (currently set to 10 seconds) gets all connected peers. It iterates through each peer and counts how many were discovered using which method (via wakuPeerStore.Origin(peerId)) and how many peers support which shard ids. These counts are then reported to the telemetry service.

Important changes:

Related to status-im/telemetry#21

@status-im-auto
Copy link
Copy Markdown
Member

status-im-auto commented Sep 9, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ aa81ecc #1 2024-09-09 23:42:54 ~2 min tests-rpc 📄log
✔️ aa81ecc #1 2024-09-09 23:44:20 ~3 min linux 📦zip
✔️ aa81ecc #1 2024-09-09 23:45:20 ~4 min ios 📦zip
✔️ aa81ecc #1 2024-09-09 23:45:51 ~5 min android 📦aar
✔️ aa81ecc #1 2024-09-10 00:12:40 ~32 min tests 📄log
✔️ 00a9267 #2 2024-09-10 00:49:28 ~2 min tests-rpc 📄log
✔️ 00a9267 #2 2024-09-10 00:50:21 ~3 min ios 📦zip
✔️ 00a9267 #2 2024-09-10 00:51:13 ~4 min linux 📦zip
✔️ 00a9267 #2 2024-09-10 00:53:11 ~6 min android 📦aar
✔️ 00a9267 #2 2024-09-10 01:19:44 ~32 min tests 📄log

@adklempner adklempner force-pushed the feat/telemetry-peers-shard-origin branch from aa81ecc to 00a9267 Compare September 10, 2024 00:46
@adklempner adklempner marked this pull request as ready for review September 10, 2024 00:46
@adklempner adklempner marked this pull request as draft September 12, 2024 18:28
@adklempner
Copy link
Copy Markdown
Contributor Author

same commits merged in #5824

@adklempner adklempner closed this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants